package cn.wolfcode.education.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 学校演讲相关
 */
@Getter
@Setter
public class Speech {
    private Long id;
    /**
     * 演讲时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date speechTime;
    /**
     * 演讲内容
     */
    private String info;
    /**
     * 演讲地址
     */
    private String address;
    /**
     * 演讲效果
     */
    private String result;
    /**
     * 备注
     */
    private String remark;
    /**
     * 演讲的学校
     */
    private School school;
    /**
     * 演讲人
     */
    private Employee speecher;
}